package com.woniuxy.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

import java.util.Map;


@Data
@Component
@ConfigurationProperties(prefix = "gateway.swagger")
public class GatewaySwaggerProperties {
    /** 网关自身的服务名（需在配置文件中指定） */
    private String serviceName;
    /** 服务名到分组名称的映射 */
    private Map<String, String> groupMapping;
}
